/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package model;

import javax.microedition.lcdui.game.Sprite;
import midlet.GameDesign;

public class Warrior {
    private GameDesign gameDesign;
    private int vidas = 3;
    private Sprite warrior;
    private int viewPortY;
    private int viewPortX;


    public Warrior(GameDesign gameDesign, Sprite warrior){
        this.gameDesign = gameDesign;
        this.warrior = warrior;
    }

    public int getVidas() {
        return vidas;
    }

    public void setVidas(int vidas) {
        this.vidas = vidas;
    }

    public Sprite getWarrior() {
        return warrior;
    }

    public void setWarrior(Sprite warrior) {
        this.warrior = warrior;
    }

    public GameDesign getGameDesign() {
        return gameDesign;
    }

    //metodo que defina a maneira que o warrior deve se comportar com o input
    public void metodoWarriorAndar(int teclaPrecionada){

    }

    public void pegarPontos(){

    }

    public boolean detectaColisao(Sprite sprite){
        return false;
    }
}
